<if condition="$list['biaoti']">
    <meta id="description" name="description" content="{$list.biaoti}">
    <title>{$list.biaoti} - 你好网ياخشىمۇسىز تورى</title>
    <meta itemprop="name" content="{$list.biaoti} - 你好网ياخشىمۇسىز تورى"/>
    <meta itemprop="image" content="/{$list.news_view.thumb|_strpos}" />
</if>
<include file="nav:header"/>
<style>
    .jiathis_style_24x24 .jtico{text-align: left;overflow: hidden;display: block!important;height: 32px!important;line-height: 32px!important;padding-left: 36px!important;/*background: url(../images/jiathis_ico_32x32.png) no-repeat left;*/cursor: pointer;}
    .jiathis_style_24x24 .jtico_qzone{background: url("__STATIC__/img/qq_qine.png") no-repeat left;}
    .jiathis_style_24x24 .jtico_tsina{background: url("__STATIC__/img/weibo1.png") no-repeat left;}
    .jiathis_style_24x24 .jtico_tqq{background: url("__STATIC__/img/qq_qine.png") no-repeat left;display: none!important;}
    .jiathis_style_24x24 .jtico_weixin{background: url("__STATIC__/img/weixin.png") no-repeat left;}
    .jiathis_style_24x24 .jtico_renren{background: url("__STATIC__/img/renren.png") no-repeat left;}
    .jiathis_style_24x24 #jiathis_counter_13{display: none;}
    table *{
        text-align: right;
    }
    table {
        margin-bottom: 10px;
        border-collapse: collapse;
        display: table;
    }
    table tr.firstRow th {
        border-top-width: 2px;
    }
    th {
        border-top: 1px solid #BBB;
        background-color: #F7F7F7;
    }
    td, th {
        padding: 5px 10px;
        border: 1px solid #DDD;
    }
    td, th {
        padding: 5px 10px;
        border: 1px solid #DDD;
    }
    td, th {
        padding: 5px 10px;
        border: 1px solid #DDD;
    }
</style>
<div class="container-fluid">
    <div class="container">
        <div class="row">
            <div class="news-view col-md-8 col-sm-8 col-xs-12 pull-right">
                <div class="page-header">
                    <p class="bax_orun"><a>ئورنىڭىز:</a><a href="/index.shtml">باشبەت</a> > <a href="" onclick="javascript:history.back();">خەۋەر</a>>
                        <a>كۆرۋاتقىنىڭىز</a>
                    </p>
                </div>
                <div class="thumbnail contant-bg">
                    <div class="contant">
                        <div style="height: 20px" class="visible-xs"></div>
                        <h4 class="text-center">{$list.news_view.title|htmlspecialchars_decode}</h4>
                        <div class="summury" style="text-align: center">
                            <span><i>يوللىغۇچى:</i>{$list.news_view.author}</span>
                            <span><i>يوللانغان ۋاقىت:</i>{$list.news_view.intime|date="Y/m/d H:i",###}</span>
                        </div>
                        <!--//elan bu-->
                        <div class="ad ad-top">
                            <input type="hidden" value="{$catids=$list.catids.0}">
                            <switch name="catids">
                                <default />{:ads_elan("263")}
                            </switch>
                        </div>
                        <div class="layer-demo">
                            <if condition="$list['news_view']['summer']">
                                <p class="summer">
                                    {$list.news_view.summer|htmlspecialchars_decode}
                                </p>
                            </if>
                            <if condition="$list['news_view']['standby2']">
                                <p>
                                    <iframe class="content_iframe" frameborder="0" src="{$list.news_view.standby2}"></iframe>
                                </p>
                            </if>
                            <p>
                                <if condition="$list['news_view']['content']">
                                    {$list.news_view.content|html_entity_decode}
                                    <else/>
                                    {$list.news_view.content1|html_entity_decode}
                                </if>
                            </p>
                        </div>
                        <script type="text/javascript">
                            var imglist=$(".layer-demo img");//获取ID为div里面的所有img
                            for(var i=0;i<imglist.length;i++){ //循环为每个img设置
                                $src=$(imglist).eq(i).attr("src");
                                $(imglist).eq(i).attr("layer-src",$src);
                                $(imglist).eq(i).css("cursor","pointer");
                            }
                            //调用示例
                            layer.ready(function(){ //为了layer.ext.js加载完毕再执行
                                layer.photos({
                                    photos: '.layer-demo'
                                    ,shift: 5 //0-6的选择，指定弹出图片动画类型，默认随机
                                });
                            });
                        </script>
                    </div>
                    <div style="height: 30px" class="hidden-xs "></div>
                    <div id="recommend" class="zan">
                        <div class="fav{$list.favnum}" onclick="favour({$list.news_view.id},'favour')">
                            <dl style="cursor: pointer" class="fav_num">
                                <img class="favour" src="__STATIC__/img/zan{$list.favnum}.png" />
                                <i class="recommend-number">
                                    {$list.like}
                                </i>
                            </dl>
                        </div>
                    </div>
                    <script type="text/javascript">
                        var purl="{$list.favnum}";
                        var num=0;
                        if(purl!=0){
                            function favour(id,nam) {
                                if(num!=0) return;
                                num=1;
                                var attr=$('.favour');
                                var html=$(".fav_num i").text();
                                var i=html;
                                i++;
                                $(".fav_num i").text(i);
                                //ajax tin elgiri 点赞kilixni bir ketim tez amalga axurux
                                $(attr).attr("src","__STATIC__/img/zan0.png");
                                $("#recommend div").attr("class","fav0");
                                $.ajax({
                                    type:"post",
                                    url:"{:U('Index/view')}",
                                    dataType:"json",
                                    data:{"id":id,"nam":nam},
                                    success:function (data) {
                                        $(attr).attr("src","__STATIC__/img/zan"+data.status+".png");
                                        $("#recommend div").attr("class","fav"+data.status);
                                    },error:function () {
                                        $(attr).attr("src","__STATIC__/img/zan"+data.status+".png");
                                        $("#recommend div").attr("class","fav"+data.status);
                                    }
                                })
                            }
                        }
                    </script>
                    <div class="jiathis">
                        <div class="col-md-8 col-sm-8 hidden-xs">
                            <div style="height: 40px"></div>
                            <div class="jiathis_style_24x24 pull-right">
                                <a class="jiathis_button_qzone"></a>
                                <a class="jiathis_button_tsina"></a>
                                <a class="jiathis_button_tqq"></a>
                                <a class="jiathis_button_weixin"></a>
                                <a class="jiathis_button_renren"></a>
                                <a href="http://www.jiathis.com/share" class="jiathis jiathis_txt jtico jtico_jiathis" target="_blank"></a>
                                <a class="jiathis_counter_style"></a>
                            </div>
                        </div>
                        <div class="col-xs-12 visible-xs pull-right">
                            <div style="height: 40px"></div>
                            <!-- JiaThis Button BEGIN -->
                            <div class="jiathis_style_24x24 jiathis_style pull-right">
                                <a class="jiathis_button_qzone"></a>
                                <a class="jiathis_button_tsina"></a>
                                <a class="jiathis_button_tqq"></a>
                                <!--<a class="jiathis_button_weixin"></a>-->
                                <a class="jiathis_button_renren"></a>
                                <a href="http://www.jiathis.com/share" class="jiathis jiathis_txt jtico jtico_jiathis" target="_blank"></a>
                                <a class="jiathis_counter_style"></a>
                            </div>
                        </div>
                    </div>
                    <script type="text/javascript" src="http://v3.jiathis.com/code/jia.js" charset="utf-8"></script>
                </div>
                <div class="ch"></div>
                <div style="height: 40px" class="hidden-xs"></div>
                <!--//hatkuqla-->
                <div class="ch"></div>
                <div class="tag">
                    <foreach name="list.news_tag" item="t">
                        <a href="#">{$t.tname}</a>
                    </foreach>
                </div>
                <div style="height: 20px" class="visible-xs"></div>
                <!--manba-->
                <div class="source">
                    <img class="logo1" src="/{$list.source.0.thumb|_strpos}">
                    <dl>
                        <dt>مەزمۇن مەنبەسى:{$list.source.0.name}</dt>
                        <time>{$list.news_view.intime|date="Y/m/d H:i",###}</time>
                        <p><span>ئادېرىسى:</span><a target="_blank" href="{$list.news_view.from_url}">{$list.news_view.from_url}</a></p>
                    </dl>
                    <div style="height: 0;" class="ch"></div>
                </div>
                <!--//elan bu-->
                <div style="height: 40px" class="hidden-xs"></div>
                <div style="height: 20px" class="visible-xs"></div>
                <div class="ad ad-top">
                    {:ads_elan('268')}
                </div>
                <!--//inkas-->
                <div class="comment_div">
                    <p class="warning">ئەسكەرتىش:سىز يوللىغان ھەربىر ئىنكاس تەستىقلانغاندىن كىيىن يوللىنىدۇ،ئىنكاس يازغاندا قانۇنغا خىلاپ ھەرقانداق ئۇچۇرنى يازماڭ!</p>
                    <textarea   onkeydown="return proc_kd(event);" onkeypress="return addchar(this, event);" class="content_comment" rows="4"></textarea>
                    <h4>
                        <img src="__STATIC__/img/comment_face.png" class="face"/>
                        <small>
                            <span>ئىسمىڭىز:</span>
                            <input onkeydown="return proc_kd(event);" onkeypress="return addchar(this, event);" class="isim" type="text" />
                            <a onclick="_commnet_info('__COMMENT__',{$list.news_view.id})" type="button" class="btn">يوللاش</a>
                        </small>
                    </h4>
                </div>

                <div class="comment_list">
                    <foreach name="list.comment" item="c">
                        <dl>
                            <dd class="comment_face"><img src="{$c.face}" /></dd>
                            <dd class="comment_content">
                                <h4>{$c.isim}</h4>
                                <p>{$c.content|htmlspecialchars}</p>
                                <time>{$c.intime|date="Y/m/d",###}&nbsp;&nbsp;{$c.intime|date="H:i",###}</time>
                            </dd>
                            <div  class="chh"></div>
                        </dl>
                    </foreach>
                </div>
            </div>
            <div class=" col-md-4 col-sm-4 col-xs-12 pull-left">
                <div class="row">
                    <div class="page-header">
                        <h2> بۇلارنىمۇ ياقتۇرىسىز</h2>
                    </div>
                    <div style="height: 15px"></div>

                    <!-- img-list -->
                    <div class="img-bd image_left">
                        <div class="row">
                            <ul id="img1" class="active tab-pane">
                                <foreach name="list.view_news" item="v">
                                    <li class=" col-md-6 col-xs-4">
                                        <a class="thumbnail" href="{$v.url}">
                                            <img src="/{$v.thumb|_strpos}">
                                        </a>
                                        <div>
                                            <h4>{$v.title}</h4>
                                            <p>
                                                <foreach name="v.tag" item="t1">
                                                    <span class="taglar">{$t1.tname}</span>
                                                </foreach>
                                            </p>
                                        </div>
                                    </li>
                                </foreach>
                            </ul>
                        </div>

                        <!-- elan -->
                        <div class="ad ad_elan1">
                            {:ads_elan('264')}
                        </div>
                    </div>
                    <div class="page-header hidden-xs">
                        <h2> بۇلارنىمۇ ياقتۇرىسىز</h2>
                    </div>
                    <div style="height: 15px"></div>

                    <!-- img-list -->
                    <div class="img-bd image_left hidden-xs">
                        <div class="row">
                            <div class="tab-content">
                                <ul id="img1" class="active tab-pane">
                                    <foreach name="list.view_news" item="v">
                                        <li class=" col-md-6 col-xs-4">
                                            <a class="thumbnail" href="{$v.url}">
                                                <img src="/{$v.thumb|_strpos}">
                                            </a>
                                            <div>
                                                <h4>{$v.title}</h4>
                                                <p>
                                                    <foreach name="v.tag" item="t1">
                                                        <span class="taglar">{$t1.tname}</span>
                                                    </foreach>
                                                </p>
                                            </div>
                                        </li>
                                    </foreach>
                                </ul>
                            </div>
                        </div>

                        <!-- elan -->
                        <div class="ad ad_elan1">
                            {:ads_elan('267')}
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div style="height: 150px;" class="hidden-xs"></div>
    <div style="height: 70px;" class="visible-xs"></div>
</div>
<include file="nav:footer"/>